<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/8
 * Time: 10:31
 */


echo '用户中心<p>';

if (isset($_COOKIE['flag'])) {
    echo '当前的COOKIES值：'.$_COOKIE['flag'].'<p>';

    if (isset($_COOKIE['flag'])) {
        echo '<a href="loginout.php">退出登录</a>';
    }
}